
public class SudokuDocumentListener implements DocumentListener {
	private int x;
	private int y;
	private Solver solver;
	
	
	public SudokuDocumentListener(Solver solver, int x, int y) {
		this.x = x;
		this.y = y;
		this.solver = solver;
	}
	 public void changedUpdate(DocumentEvent e) {
		 this.solver.add(x, y, e.getText())
	
	 public void removeUpdate(DocumentEvent e) {
		 this.solver.add(x, y, e.getText());
	}
	
	 public void insertUpdate(DocumentEvent e) {
		 this.solver.add(x, y, e.getText());
	 }
}
